<div class="skillCategories view">
<h2><?php  __('Skill Category');?>: <?php echo $skillCategory['LocalizedString'][$locale]; ?></h2>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('List Skill Categories', true), array('action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('List Skills', true), array('controller' => 'skills', 'action' => 'index')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Skills');?></h3>
	<?php if (!empty($skills)):?>
<p>
<?php
echo $paginator->counter(array(
'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
));
?></p>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th class="s_name"><?php __('Name'); ?></th>
		<th class="s_description"><?php __('Description'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($skills as $skill):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td class="s_name"><?php echo $skill['LocalizedString'][$locale];?></td>
			<td class="s_description"><?php echo $skill['FormattedString'][$locale];?></td>
			<td class="actions">
				<?php echo $html->link(__('View', true), array('controller' => 'skills', 'action' => 'view', $skill['Skill']['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>
</div>
<div class="paging">
    <?php echo $paginator->prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?>
 |  <?php echo $paginator->numbers();?>
    <?php echo $paginator->next(__('next', true).' >>', array(), null, array('class' => 'disabled'));?>
</div>